package org.destinyshine.cricket.context.description;

import org.destinyshine.cricket.container.ServletWrapper;

/**
 * Created by destinyliu on 2016/2/28.
 */
public class ServletMapping {

    private final String urlPattern;

    private final ServletWrapper servletWrapper;

    public ServletMapping(String urlPattern, ServletWrapper servletWrapper) {
        this.urlPattern = urlPattern;
        this.servletWrapper = servletWrapper;
    }

    public String getUrlPattern() {
        return urlPattern;
    }

    public ServletWrapper getServletWrapper() {
        return servletWrapper;
    }
}
